package com.zimmur.service.impl.zone;

import java.util.List;

import javax.annotation.Resource;  
  
import org.springframework.stereotype.Service;

import com.zimmur.dao.zone.ITopicConcernDao;
import com.zimmur.dao.zone.ITopicDao;
import com.zimmur.model.zone.SharedProperty;
import com.zimmur.model.zone.TopicConcern;
import com.zimmur.service.zone.ITopicConcernService;
  
  
@Service("topicConcernService")  
public class TopicConcernServiceImpl implements ITopicConcernService {  
    @Resource  
    private ITopicConcernDao topicConcernDao;
    
	@Override
	public int insertTopicConcern(TopicConcern topicConcern) {
		return topicConcernDao.insertTopicConcern(topicConcern);
	}
	@Override
	public int updateTopicConcern(TopicConcern topicConcern) {
		return topicConcernDao.updateTopicConcern(topicConcern);
	}
	@Override
	public TopicConcern selectTopicConcern(TopicConcern topicConcern) {
		return topicConcernDao.selectTopicConcern(topicConcern);
	}
	@Override
	public int concernWhether(TopicConcern topicConcern) {
		return topicConcernDao.updateTopicConcern(topicConcern);
	}
	@Override
	public List<TopicConcern> selectByCreateUserTopicConcernList(SharedProperty sharedProperty) {
		return topicConcernDao.selectByCreateUserTopicConcernList(sharedProperty);
	}

	
	 
}  
